bfq: Re-enable auto-loading when built as a module
authorBen Hutchings <ben@decadent.org.uk>
Sat, 12 Aug 2017 21:27:06 +0000 (22:27 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Nov 2017 21:04:10 +0000 (21:04 +0000)
The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

Fixes: ea25da48086d ("block, bfq: split bfq-iosched.c into multiple ...")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name bfq-re-enable-auto-loading-when-built-as-a-module.patch

block/bfq-iosched.c

index 436b6ca6b1759228b69d3087c5e4ea0708940690..3a01563bd564de146787a56d97021daeb5f8b156 100644 (file)
@@ -4998,6 +4998,7 @@ static struct elevator_type iosched_bfq_mq = {
        .elevator_name =        "bfq",
        .elevator_owner =       THIS_MODULE,
 };
+MODULE_ALIAS("bfq-iosched");
 
 static int __init bfq_init(void)
 {